<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Hello world!</title>
    <!-- zui-->
    <link href="${pageContext.request.contextPath}/static/css/zui.css" rel="stylesheet">
	<!-- jQuery (ZUI中的Javascript组件依赖于jQuery) -->
    <script src="${pageContext.request.contextPath}/static/js/jquery-1.11.1.min.js"></script>
     <!-- ZUI Javascript组件-->
    <script src="${pageContext.request.contextPath}/static/js/zui.min.js"></script>
	<!--[if lt IE 9]>
    <script src="${pageContext.request.contextPath}/static/lib/ieonly/html5shiv.js"></script>
    <script src="${pageContext.request.contextPath}/static/lib/ieonly/respond.js"></script>
    <![endif]-->
	<style>
		body {
			 background: url(${pageContext.request.contextPath}/static/img/login.jpg) no-repeat center center fixed;
			 -webkit-background-size: cover;
			 -moz-background-size: cover;
			 -o-background-size: cover;
			 background-size: cover;
		}
		
		#title {
			font-family:宋体;
			font-size:50px;
			font-weight:50;
			color:white;
		}
		
	</style>
  </head>
  <body>
	<div class="container">
		<div class="row">
			<div class="col-lg-12 col-md-12" style="height: 120px">
			</div>
		</div>
		<div class="row">
			<div id="welcom" align="center"  class="col-lg-12 col-md-12">
				<img src="${pageContext.request.contextPath}/static/img/welcom1.png"></img>
			</div>
		</div>
		<div class="row">
			<div class="col-lg-12 col-md-12" style="height: 20px">
			</div>
		</div>
		<div class="row">
			<div id="title" class="col-lg-12 col-md-12">
				<p class="text-center">客户安全管理平台</p>
			</div>
		</div>	
		<div class="row">
			<div id="sub-title" align="center"  class="col-lg-12 col-md-12">
				<img src="${pageContext.request.contextPath}/static/img/sub-title.png"></img>
			</div>
		</div>
		<div class="row">
			<div class="col-md-8 col-md-offset-2">
				<br>
				<form:form commandName="user" action="${pageContext.request.contextPath}/login" method="post">
					<div class="row">
						<div class="col-md-6 col-md-offset-3">
							<div class="input-group">
								<span class="input-group-addon"><i class='icon-user'></i></span>
								<input name="loginName" type="text" class="form-control" placeholder="用户名"/>
							</div>
								<form:errors path="loginName"/>
							<br>
							<div class="input-group">
								<span class="input-group-addon fix-border"><i class="icon-key"></i></span>
								<input name="password" type="password" class="form-control" placeholder="密码"/>
							</div>
								<form:errors path="password"/>
						</div>
					</div>
					<br>
					<div class="row">
						<div class="col-md-6 col-md-offset-3">
							<div class="row">
								<div class="col-md-6">
									<button class="btn btn-large btn-block btn-primary"><i class="icon-ok-sign"></i> 登 陆</button>
								</div>
								<div class="col-md-6">
									<button class="btn btn-large btn-block btn-warning"><i class="icon-remove-sign"></i> 取 消</button>
								</div>
							</div>
						</div>
					</div>
				</form:form>
			</div>
		</div>
	</div>
  </body>
  
</html>